package com.eorchis.module.trainingclass.ui.commond;

import java.io.Serializable;
import java.util.Date;


import com.eorchis.core.basedao.entity.IBaseEntity;
import com.eorchis.core.ui.commond.ICommonField;
import com.eorchis.core.ui.commond.ICommond;
import com.eorchis.module.trainingclass.domain.TrainingClass;


/**
 * Title: TrainingClassValidCommond<br>
 * Description: 培训班信息ValidCommond<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author Max
 * @createDate 2013-12-10
 * @version $Revision$
 */
public class FindTrainingClassValidCommond implements ICommond,ICommonField {
	
	private TrainingClass trainingClass;
	
	private String classType;//培训班类型 对应数据字典中的Code
	
	private String trainingType;//培训类别   对应数据字典中的Code
	
	private String trainingOrganization;//培训机构   对应数据字典中的Code
	
	private String trainingOrganizationBaseName;//培训结构名称   对应数据字典中的Code
	
	private String applyWay;//报名方式   对应数据字典中的Code
	
	private String beoffCode;//离岗状态   对应数据字典中的Code
	
	private String timeUnit;//培训时间单位   对应数据字典中的Code
	
	private String setApplyOrgan;//设置报名机构  对应数据字典中的Code
	
	private String  levelCodes;// 职级编码数组
	
	private String depIds;//合办单位的部门数组
	
	private String beginDateStr;//开始时间
	
	private String endDateStr;//结束时间
	
	private String enterBeginTimeStr;//开班时间
	
	private String enterEndTimeStr;//结班时间
	
	// ActiveState默认值为1 用classActiveState代替
	private Integer classActiveState; // 班级活动状态 
	
	private String organizerType;//主办单位类型    对应数据字典中的Code
	private String classDescription;//培训内容    对应数据字典中的Code
	
	
	public FindTrainingClassValidCommond(){
		trainingClass = new TrainingClass();
	}
	
	public FindTrainingClassValidCommond(TrainingClass trainingClass){
		this.trainingClass = trainingClass;
	}

	public Serializable getEntityID() {
		return trainingClass.getClassId();
	}

	public IBaseEntity toEntity() {
		return trainingClass;
	}

	/**
	 * 获取培训班ID
	 */	
	
	public String getClassId() {
		return trainingClass.getClassId();
	}
	/**
	 * 设置培训班ID
	 */		
	public void setClassId(String classId) {
		trainingClass.setClassId(classId);
	}
	/**
	 * 获取培训班名称
	 */	
	public String getClassName() {
		return trainingClass.getClassName();
	}
	/**
	 * 设置培训班名称
	 */		
	public void setClassName(String className) {
		trainingClass.setClassName(className);
	}
	/**
	 * 获取培训班名称--年度
	 */	
	public String getClassnameYear() {
		return trainingClass.getClassnameYear();
	}
	/**
	 * 设置培训班名称--年度
	 */		
	public void setClassnameYear(String classnameYear) {
		trainingClass.setClassnameYear(classnameYear);
	}

	public Integer getActiveState() {
		return trainingClass.getActiveState();
	}

	public void setActiveState(Integer arg0) {
		trainingClass.setActiveState(arg0);
	}

	@Override
	public Date getCreateDate() {
		return null;
	}

	@Override
	public void setCreateDate(Date createDate) {
		
	}


	public String getClassnameUnit() {
		return trainingClass.getClassnameUnit();
	}

	public void setClassnameUnit(String classnameUnit) {
		trainingClass.setClassnameUnit(classnameUnit);
	}


	public Integer getClassUserNum() {
		return trainingClass.getClassUserNum();
	}

	public void setClassUserNum(Integer classUserNum) {
		trainingClass.setClassUserNum(classUserNum);
	}

	public Double getTrainingHour() {
		return trainingClass.getTrainingHour();
	}

	public void setTrainingHour(Double trainingHour) {
		trainingClass.setTrainingHour(trainingHour);
	}

	public Date getBeginDate() {
		return trainingClass.getBeginDate();
	}

	public void setBeginDate(Date beginDate) {
		trainingClass.setBeginDate(beginDate);
	}

	public Date getEndDate() {
		return trainingClass.getEndDate();
	}

	public void setEndDate(Date endDate) {
		trainingClass.setEndDate(endDate);
	}

	public Date getEnterBeginTime() {
		return trainingClass.getEnterBeginTime();
	}

	public void setEnterBeginTime(Date enterBeginTime) {
		trainingClass.setEnterBeginTime(enterBeginTime);
	}

	public Date getEnterEndTime() {
		return trainingClass.getEnterEndTime();
	}

	public void setEnterEndTime(Date enterEndTime) {
		trainingClass.setEnterEndTime(enterEndTime);
	}
	

	public String getTrainingAddress() {
		return trainingClass.getTrainingAddress();
	}

	public void setTrainingAddress(String trainingAddress) {
		trainingClass.setTrainingAddress(trainingAddress);
	}

	public String getClassDescription() {
		return classDescription;
	}

	public void setClassDescription(String classDescription) {
		this.classDescription=classDescription;
	}


	public Integer getPublishState() {
		return trainingClass.getPublishState();
	}

	public void setPublishState(Integer publishState) {
		trainingClass.setPublishState(publishState);
	}

	public Integer getOpenState() {
		return trainingClass.getOpenState();
	}

	public void setOpenState(Integer openState) {
		trainingClass.setOpenState(openState);
	}

	public Date getLatestOperateDate() {
		return trainingClass.getLatestOperateDate();
	}

	public void setLatestOperateDate(Date latestOperateDate) {
		trainingClass.setLatestOperateDate(latestOperateDate);
	}

	public Integer getEndState() {
		return trainingClass.getEndState();
	}

	public void setEndState(Integer endState) {
		trainingClass.setEndState(endState);
	}

//	public String getClassnamePeriodType() {
//		return trainingClass.getClassnamePeriodType();
//	}
//
//	public void setClassnamePeriodType(String classnamePeriodType) {
//		trainingClass.setClassnamePeriodType(classnamePeriodType);
//	}

	public TrainingClass getTrainingClass() {
		return trainingClass;
	}

	public void setTrainingClass(TrainingClass trainingClass) {
		this.trainingClass = trainingClass;
	}

	public String getClassType() {
		return classType;
	}

	public void setClassType(String classType) {
		this.classType = classType;
	}

	public String getTrainingType() {
		return trainingType;
	}

	public void setTrainingType(String trainingType) {
		this.trainingType = trainingType;
	}

	public String getTrainingOrganization() {
		return trainingOrganization;
	}

	public void setTrainingOrganization(String trainingOrganization) {
		this.trainingOrganization = trainingOrganization;
	}

	public String getTrainingOrganizationBaseName() {
		return trainingOrganizationBaseName;
	}

	public void setTrainingOrganizationBaseName(String trainingOrganizationBaseName) {
		this.trainingOrganizationBaseName = trainingOrganizationBaseName;
	}

	public String getBeoffCode() {
		return beoffCode;
	}

	public void setBeoffCode(String beoffCode) {
		this.beoffCode = beoffCode;
	}

	public String getApplyWay() {
		return applyWay;
	}

	public void setApplyWay(String applyWay) {
		this.applyWay = applyWay;
	}

	public String getTimeUnit() {
		return timeUnit;
	}

	public void setTimeUnit(String timeUnit) {
		this.timeUnit = timeUnit;
	}

	public String getLevelCodes() {
		return levelCodes;
	}

	public void setLevelCodes(String levelCodes) {
		this.levelCodes = levelCodes;
	}

	public String getDepIds() {
		return depIds;
	}

	public void setDepIds(String depIds) {
		this.depIds = depIds;
	}

	public String getSetApplyOrgan() {
		return setApplyOrgan;
	}

	public void setSetApplyOrgan(String setApplyOrgan) {
		this.setApplyOrgan = setApplyOrgan;
	}

	public String getBeginDateStr() {
		return beginDateStr;
	}

	public void setBeginDateStr(String beginDateStr) {
		this.beginDateStr = beginDateStr;
	}

	public String getEndDateStr() {
		return endDateStr;
	}

	public void setEndDateStr(String endDateStr) {
		this.endDateStr = endDateStr;
	}

	public String getEnterBeginTimeStr() {
		return enterBeginTimeStr;
	}

	public String getEnterEndTimeStr() {
		return enterEndTimeStr;
	}

	public void setEnterEndTimeStr(String enterEndTimeStr) {
		this.enterEndTimeStr = enterEndTimeStr;
	}

	public void setEnterBeginTimeStr(String enterBeginTimeStr) {
		this.enterBeginTimeStr = enterBeginTimeStr;
	}

	public Integer getClassActiveState() {
		return classActiveState;
	}

	public void setClassActiveState(Integer classActiveState) {
		this.classActiveState = classActiveState;
	}

	public String getOrganizerType() {
		return organizerType;
	}

	public void setOrganizerType(String organizerType) {
		this.organizerType = organizerType;
	}
	
}
